package com.ly.test.controller;

//import org.springframework.boot.SpringApplication;
//import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liuyi
 * @date 2017/01/16 14:20
 */
@RestController
//@SpringBootApplication
public class HelloController {

    @RequestMapping("/")
    public String hello(){
        return "Hello world!";
    }

//    public static void main(String[] args) {
//        SpringApplication.run(HelloController.class, args);
//    }

}
